<?php
/**
 * Template Name: index
 *
 * @var unknown_type
 */

 
	$siteuri = get_bloginfo ( 'template_url' );
	
	$morestylecss = "lovelink2";
	 
	$smarty = smarty_get_instance ();
	
	
	$top_right = htmlReplaceDiffStyle(101,"lovelink1",$morestylecss ,3);
	$top2center = htmlReplaceDiffStyle(106,"siderbar_1",$morestylecss ,3);
	$top3center = htmlReplaceDiffStyle(111,"siderbar_2",$morestylecss ,3);
	$top4center = htmlReplaceDiffStyle(110,"siderbar_3",$morestylecss ,3);
	$huandeng = htmlReplace(102);
	$top_center = htmlReplace(103);
	$buttom_first = htmlReplace(104);
	$top_second_right =htmlReplace(105);
	$top_third_right =htmlReplace(109);
	
	$top_fourth_rightfirst = htmlReplace(107);
	$top_fourth_rightsecond = htmlReplace(112);
	$top_fourth_rightthird = htmlReplace(108);
	$top_fourth_rightforth = htmlReplace(113);
	
	
	
	$smarty->assign ( "siteuri", $siteuri );
	$smarty->assign ( "top_right", $top_right );
	$smarty->assign ( "huandeng", $huandeng );
	$smarty->assign ( "top_center", $top_center );
	$smarty->assign("buttom_first",$buttom_first);
	$smarty->assign("top_second_right",$top_second_right);
	$smarty->assign("top2center",$top2center);
	$smarty->assign("top3center",$top3center);
	$smarty->assign("top4center",$top4center);
	$smarty->assign("top_third_right",$top_third_right);
	$smarty->assign("top_fourth_rightfirst",$top_fourth_rightfirst);
	$smarty->assign("top_fourth_rightsecond",$top_fourth_rightsecond);
	$smarty->assign("top_fourth_rightthird",$top_fourth_rightthird);
	$smarty->assign("top_fourth_rightforth",$top_fourth_rightforth);
	
	
	$content = $smarty->fetch ("index.tpl");
	
	$fp = fopen ( "/home/uujog/UUJOG.COM/wp-content/themes/beauty_women_thema/index.html", "w" );
	//$fp = fopen ( "D://phpinstall/www/wordpress/wp-content/themes/Beautiful_women/index.html", "w" );
	//$fp = fopen ( "D://phpinstall/AppServ/www/wordpress/wp-content/themes/Beautiful_women/index.html", "w" );
	fwrite ( $fp, $content );
	fclose ( $fp );
?>